generalized menu classes and ids