REF: format_object_attrs -> Index._format_attrs
Preliminary to trying to implement generic EA-backed Index (and in particular IntegerArray/BooleanArray), trying to identify all the Index methods that implicitly assume we have an ndarray.  This refactors a used-only-once function into the method to make it more obvious that it does _not_ assume an ndarray.