Generates a random UID