Switch to UUIDs for elections

In preparation for a proper persistance layer and the big refactor