messaging: disallow expressions for attributes representing classnames

* revert and disallow expressions from attributes that represent
  class names (these attributes were not allowing expressions in 7.1.x
  models and were erroneously updated as a part of AS7-6078)