Switch from uuids to type safe IDs for command, event, task