def unordered_list(name, identifier={:index => 0}, &block)
      standard_methods(name, identifier, 'unordered_list_for', &block)
      define_method(name) do
        return platform.unordered_list_text_for identifier.clone unless block_given?
        self.send("#{name}_element").text
      end
    end
def unordered_list(name, identifier={:index => 0}, &block)
      standard_methods(name, identifier, 'unordered_list_for', &block)
      define_method(name) do
        return platform.unordered_list_text_for identifier.clone unless block_given?
        self.send("#{name}_element").text
      end
    end
adds three methods - one to return the text within the unordered
 list, one to retrieve the unordered list element, and another to
 check it's existence.

 @example
   unordered_list(:menu, :id => 'main_menu')
   # will generate 'menu', 'menu_element' and 'menu?' methods

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