added equals+hashCode based on attributes for new uncertainty class