public function getIdentifiers($with_current = false)
    {
        $identifiers = [];
        foreach ($this->resources as $name => $resource) {
            if (!(!$with_current && $name === $this->config->getResourceName())) {
                /** @noinspection PhpUndefinedMethodInspection */
                $identifiers[$name . 'Id'] = $resource->getId();
            }
        }
        return $identifiers;
    }