In cf.write, allow dimension coordinate constructs' netCDF names to be added to the coordinates netCDF attribute, if the user desires. Currently they are always omitted. Either way is CF-compliant.
This has already been implemented in cfdm (NCAS-CMS/cfdm#81).