protected function generateIdentifier()
    {
        if ($this->identifier === null) {
            ++self::$nextIdentifier;
            self::$nextIdentifier &= 0xFFFF;

            $this->identifier = self::$nextIdentifier;
        }

        return $this->identifier;
    }
protected function generateIdentifier()
    {
        if ($this->identifier === null) {
            ++self::$nextIdentifier;
            self::$nextIdentifier &= 0xFFFF;

            $this->identifier = self::$nextIdentifier;
        }

        return $this->identifier;
    }
protected function generateIdentifier ( ) { if ( $ this -> identifier === null ) { ++ self :: $ nextIdentifier ; self :: $ nextIdentifier &= 0xFFFF ; $ this -> identifier = self :: $ nextIdentifier ; } return $ this -> identifier ; }
Returns the identifier or generates a new one.

@return int
Returns the identifier or generates a new one .