added support to read/write segmentation name for discrete source spaces