hash based on the id instead of the inherited unhashability
Merge pull request #59 from dannyroberts/hash

hash based on the id instead of the inherited unhashability