function getPath($separator = ".", $with_name = false)
 {
     $path = $this->parent->getPath($separator, $with_name);
     $label = $this->self_pos + 1;
     if ($with_name) {
         $label = "{$this->datatype}.{$label}";
     }
     $path[] = $label;
     return $path;
 }