• Generates a new local ID, with an optional prefix.

    Don't use it for persisted IDs.

    Parameters

    • OptionalbaseName: string

      prefix to add to the ID

    Returns string