protected function buildPathToAncestor($lastAncestor)
    {
        $path = $this->buildPathToArea();
        foreach((array) $this->ancestors as $ancestor => $primaryKeyValues) {
            $path[] = $ancestor;
            if($ancestor != $lastAncestor) {
                $path[] = implode('|', array_values($primaryKeyValues));
            } else {
                $path[] = 'list';
                break;
            }
        }
        return $path;
    }