def detect_owner_attribute(klass, inverse)
      ia = klass.property(inverse).inverse || detect_inverse_attribute(klass)
      if ia then
        logger.debug { "#{qp} reference to owner #{klass.qp} with inverse #{inverse} is #{ia}." }
      else
        logger.debug { "#{qp} reference to owner #{klass.qp} with inverse #{inverse} was not detected." }
      end
      ia
    end
def detect_owner_attribute(klass, inverse)
      ia = klass.property(inverse).inverse || detect_inverse_attribute(klass)
      if ia then
        logger.debug { "#{qp} reference to owner #{klass.qp} with inverse #{inverse} is #{ia}." }
      else
        logger.debug { "#{qp} reference to owner #{klass.qp} with inverse #{inverse} was not detected." }
      end
      ia
    end
Returns the attribute which references the owner. The owner attribute is the inverse
 of the given owner class inverse attribute, if it exists. Otherwise, the owner
 attribute is inferred by #{Inverse#detect_inverse_attribute}.
 @param klass (see #add_owner)
 @param [Symbol] inverse the owner -> dependent attribute
 @return [Symbol, nil] this class's owner attribute