Adds id to event