Generate uuids for entities