code: function getKey(id) {
              const path = getPath(id);
              let key;
  
              if (typeof namespace !== 'undefined' && namespace !== null) {
                  key = _this.gstore.ds.key({
                      namespace,
                      path,
                  });
              } else {
                  key = _this.gstore.ds.key(path);
              }
              return key;
          }
docs: ----------------------------------------