Assert in core.EventNotifier that there are no duplicated event ids registered