ENH: check that event_id is available

closes #1082