get_dimension_names function

Get dimension names