Extract localized_attr_name_for method

Expose convention for localized attribute names.