guests: generate code (unique within an event)