Creates a UserId with the specified value or generates a new UUID if no value is provided.
The string representation of the UUID. Defaults to a newly generated UUID.