Parser improvements to handle attributes

I replace "storage class" word with "attribute" in diagnostic messages, because the latter is more general word.
There was no reason. I replaced it with pointer indexing.