Returns the node's class identifier

@return string|bool|string|null
2179
public function classIdentifier()
    {
        if ( $this->ClassIdentifier === null )
        {
            $object = $this->object();
            $this->ClassIdentifier = $object->contentClassIdentifier();
        }

        return $this->ClassIdentifier;
    }
171014
public function getIdentifier()
    {
        $identifierAttribute = $this->getFamily()->getAttributeAsIdentifier();
        if ($identifierAttribute) {
            /** @noinspection ExceptionsAnnotatingAndHandlingInspection */

            return $this->get($identifierAttribute->getCode());
        }

        return $this->getId();
    }
1333028
function contentClassAttributeIdentifier()
    {
        if ( $this->ContentClassAttributeIdentifier === null )
        {
            $this->ContentClassAttributeIdentifier = eZContentClassAttribute::classAttributeIdentifierByID( $this->ContentClassAttributeID );
        }

        return $this->ContentClassAttributeIdentifier;
    }
238327
public function getClass()
    {
        if (is_string($this->fn)) {
            return $this->fn;
        }
        $hash = sha1(mt_rand().microtime(true));
        return "sndsgd\\field\\rule\\Closure($hash)";
    }
546567
public function getElementId()
    {
        if (null === $this->elementId && null !== $this->element) {
            $this->elementId = $this->element->id;
        }

        return $this->elementId;
    }
309881
public function pathEndIdentifierType()
    {
        $end = $this->pathEnd();

        if (isset($end['id'])) {
            return self::TYPE_ID;
        }

        if (isset($end['name'])) {
            return self::TYPE_NAME;
        }

        return null;
    }
1207802
public function id()
    {
        $ret = false;

        if (list($id) = $this->match(TextTokenizer::IDENTIFIER)) {
            $ret = array($id);
        }

        return $ret;
    }
1251073
protected function getCalleeClass()
    {

        if (PHP_VERSION_ID < 50205)
            $backtrace = debug_backtrace();
        else
            $backtrace = debug_backtrace(false);

        foreach ( $backtrace as $bt ) {
            // Making sure the class we're getting out of the backtrace is not a logger
            if (!is_a($this, $bt['class']) && strpos($bt['class'], 'Logger') === false) {
                return $bt['class'];
            }
        }

        return '';
    }
722434
public function getName()
    {
        $nsClass = get_class($this);
        $nsClass = substr($nsClass, strrpos($nsClass, '\\') + 1);
        return $nsClass;
    }
637711
public function getNode(): NodeInterface
    {
        if (null === $this->node) {
            $this->node = XmlNodeUtils::nodeFromXmlElement($this->document->documentElement);
        }
        return $this->node;
    }
124659
public function getId()
    {
        $id = $this->props['attribs']['id'];
        $sepChar = '_'; // character to join prefix and id
        $repChar = '_'; // replace \W with this char
        if (!$id && $this->props['attribs']['name']) {
            $id = \preg_replace('/\W/', $repChar, $this->props['attribs']['name']);
            $id = \preg_replace('/'.$repChar.'+/', $repChar, $id);
            $id = \trim($id, $repChar);
            if ($id && $this->props['idPrefix']) {
                $prefix = $this->props['idPrefix'];
                if (\preg_match('/[a-z]$/i', $prefix)) {
                    $prefix = $prefix.$sepChar;
                }
                $id = $prefix.$id;
            }
            if ($id) {
                $this->props['attribs']['id'] = $id;
            }
        }
        return $id;
    }
1198547
public function getClassName()
    {
        foreach ($this->tokenlist as $key => $token) {
            if (T_CLASS === $token[0]) {
                return $this->tokenlist[$key + 2][1];
            }
        }

        return '';
    }
634986
public function getViewId()
    {
        $viewId = is_null($this->viewId) ? strtolower($this->getControllerKey()) : $this->viewId;
        return $this->getNavigation()->getClassId($viewId);
    }
1172
private function getContainingClassType(Node $node)
    {
        $classFqn = $this->getContainingClassFqn($node);
        return $classFqn ? new Types\Object_(new Fqsen('\\' . $classFqn)) : null;
    }
956004
public function extractClassName()
    {
        $tokens = token_get_all($this->phpCode);
        $numberOfTokens = count($tokens);
        for ($i = 0; $i < $numberOfTokens; $i++) {
            $token = $tokens[$i];
            if (is_string($token) || $token[0] !== T_CLASS) {
                continue;
            }
            for (++$i; $i < $numberOfTokens; $i++) {
                $token = $tokens[$i];
                if (is_string($token)) {
                    break;
                }
                list($type, $value) = $token;
                if ($type === T_STRING) {
                    return $value;
                }
                if ($type !== T_WHITESPACE) {
                    break;
                }
            }
        }
        return null;
    }
1130497
public function getId()
    {
        if (isset($this->ids[$this->namespace])) {
            return $this->ids[$this->namespace];
        } else {
            return (int) $this->getRecord()->get('id');
        }
    }
775169
public function extractFullyQualifiedClassName()
    {
        $fullyQualifiedClassName = $this->extractClassName();
        if ($fullyQualifiedClassName === null) {
            return null;
        }
        $namespace = $this->extractNamespace();
        if ($namespace !== null) {
            $fullyQualifiedClassName = $namespace . '\\' . $fullyQualifiedClassName;
        }
        return $fullyQualifiedClassName;
    }