Generate UUIDs for entities (closes #1)