Support writing id and class attributes to html in messaging base class
Added test for invalid message item parameters
More message item inheritance implementation