enforcing restrictions on event names