Added support for Formtastic's attribute_names_on_errors config option.