Change ID and Class implementation

ID and CLASS nodes now modifies its own ATTR table on
creation, and strips all white space characters from
the text.