Merge "Define equals and hashCode for InputDeviceIdentifier." into nyc-dev