Changed _id generation for units to be uuids