get_attribute_names function

Get attribute names