Ensure each event has an id