# File lib/active_record/attribute_methods/primary_key.rb, line 23
      def id?
        query_attribute(self.class.primary_key)
      end