code: function getScopeForDeleteHooks() {
              let id = is.object(args[0]) && {}.hasOwnProperty.call(args[0], '__override')
                  ? arrify(args[0].__override)[0]
                  : args[0];
  
              if (is.array(id)) {
                  return null;
              }
  
              id = parseId(id);
              let ancestors;
              let namespace;
              let key;
  
              if (hookType === 'post') {
                  ({ key } = args);
                  if (is.array(key)) {
                      return null;
                  }
              } else {
                  ({
                      1: ancestors,
                      2: namespace,
                      4: key,
                  } = args);
              }
  
              if (!id && !ancestors && !namespace && !key) {
                  return undefined;
              }
  
              return _this.__model(null, id, ancestors, namespace, key);
          }
docs: For "delete" hooks we want to set the scope to
  the entity instance we are going to delete
  We won't have any entity data inside the entity but, if needed,
  we can then call the "datastoreEntity()" helper on the scope (this)
  from inside the hook.
  For "multiple" ids to delete, we obviously can't set any scope.