public function getByModelRootId($rootId){

        $this->fillScopes();

        if(!isset($this->scopeByModelRootId[$rootId])){
            throw new OutOfBoundsException("No scope with modelRootId '$rootId' found");
        }

        return $this->scopeByModelRootId[$rootId];

    }