private function removeLiteralIds() {
        echo self::$debug ? "Removing literal ids...\n" : "";

        foreach ($this->resources() as $i) {
            foreach ($i->allLiterals(RC::idProp()) as $j) {
                $i->delete(RC::idProp(), $j);
                if (self::$debug) {
                    echo "\tremoved " . $j . " from " . $i->getUri() . "\n";
                }
            }
        }
    }