event: add ability to get the event name