Function to generate a locally or globally unique actor name. To generate a globally unique name, we store an epoch number in the name number (while maintaining compatibility with fast path name generation, see GFastPathUniqueNameGeneration) and also append an unique user id to the name.