Returns the hash code for this observation.
Based on the observation ID for consistent hashing.
@override int get hashCode => id.hashCode;