Improved EventId to support inheritance