Format event name