getUUID - Get a UUID from the cache or generate a new one