Make Tokens hashable

I am working on something in which I wanted to store tokens in a HashMap - this makes it easier :-)