def cell(name, identifier={:index => 0}, &block)
      standard_methods(name, identifier, 'cell_for', &block)
      define_method("#{name}") do
        return platform.cell_text_for identifier.clone unless block_given?
        self.send("#{name}_element").text
      end
    end
def cell(name, identifier={:index => 0}, &block)
      standard_methods(name, identifier, 'cell_for', &block)
      define_method("#{name}") do
        return platform.cell_text_for identifier.clone unless block_given?
        self.send("#{name}_element").text
      end
    end
adds three methods - one to retrieve the text from a table cell,
 another to return the table cell element, and another to check the cell's
 existence.

 @example
   cell(:total, :id => 'total_cell')
   # will generate 'total', 'total_element', and 'total?' methods

 @param [Symbol] the name used for the generated methods
 @param [Hash] identifier how we find a cell.
 @param optional block to be invoked when element method is called