overriding equals in ViewId so that the HashMap works