No longer use an attribute for structure dimensionality

If the dimensionality attribute is missing the structure
is scalar. Else read the dimensionality attribute and the
number of elements in that tells you the dimensionality.

This saves one attribute per HDF5 group.