Refactor Twitter::Base.define_attribute_method