fixed hash method for Bid, so they can be used as dictionary keys