get_attribute_names function

Get the names of the attributes