State employees appearing in their official capacity before any legislative meeting or hearing for the purpose of promoting or opposing, directly or indirectly, any legislation pending or proposed before the general court shall wear their employee identification badges.