def property_for_attribute(name)
        if property?(name)
          name
        else
          match = name.to_s.match(/\A(.+)(_id(s)?)\Z/)