generateId
Generates a unique ID string for this NamedAggregate.
This extension function provides a convenient way to generate IDs directly on aggregate instances. It materializes the aggregate and delegates to AggregateIdGeneratorRegistrar.generateId.
Return
the generated ID as a string