hash()
Delegates to id in order to allow two resources of the same type and id to work with something like:
[(a = Person.find 1), (b = Person.find 2)] & [(c = Person.find 1), (d = Person.find 4)] # => [a]
# File activeresource/lib/active_resource/base.rb, line 1118 def hash id.hash end