Convert event id to string