Add comparison operator for OSM entity reference.