Supports writing to a named shared memory partition. The name of the shared memory partition is provided by the parameter memoryID. If the shared memory partition does not yet exist during initialization, it is created.