Calls an internal method to retrieve an appropriate value for use within the regex.

@param int $identifier
@param string $value
@return string
505082
protected function translateTokenUsingCallback($identifier, $value)
    {
        $method = self::$tokenCallbackMap[$identifier];

        return call_user_func(
            [$this, $method],
            $value
        );
    }
684935
public function getParameterType($identifier)
    {
        return isset($this->parameterTypes[$identifier]) ? $this->parameterTypes[$identifier] : null;
    }
1248615
public function resolveParamName($identifier)
    {
        if (!isset($this->paramNames[$identifier])) {
            return $identifier;
        }

        return $this->paramNames[$identifier];
    }
545312
public static function getTagNumber($identifier)
    {
        $firstOctet = self::makeNumeric($identifier);
        $tagNumber = $firstOctet & self::LONG_FORM;

        if ($tagNumber < self::LONG_FORM) {
            return $tagNumber;
        }

        if (is_numeric($identifier)) {
            $identifier = chr($identifier);
        }
        return Base128::decode(substr($identifier, 1));
    }
518648
protected function quoteOneIdentifier($identifier)
    {
        $parts = explode('.', $identifier);
        $parts = array_map([$this, 'quoteIdentifierSection'], $parts);

        return implode('.', $parts);
    }
383363
protected function retrieveMessageEnvelope($identifier)
	{
		$envelope = null;

		// Fetch the requested anvelope if we have any
		if ( isset($this->messageEnvelopeStore[self::MESSAGE_ENVELOPE_STORE_PREFIX . $identifier]) ) {
			$envelope = $this->messageEnvelopeStore[self::MESSAGE_ENVELOPE_STORE_PREFIX . $identifier];
		}

		return $envelope;
	}
1205393
public static function escapeIdentifier($identifier = null) {
		$sqlAdapter = static::getSQLAdapter();
		return $sqlAdapter->escapeIdentifier($identifier ? $identifier : static::$table);
	}
1100544
@Override
    public Object get(final String identifier) {
        Declaration decl = getDeclarations().get( identifier );
        if ( decl == null ) {
            throw new IllegalArgumentException( "identifier '" + identifier + "' cannot be found" );
        }
        return get( decl );
    }
1272957
public function register($identifier, $value)
    {
        if ($this->isRegistered($identifier)) {
            throw new RegistryException(
                RegistryException::DUPLICATE_REGISTRATION_ATTEMPT_TEXT . '(identifier: ' . $identifier . ')',
                RegistryException::DUPLICATE_REGISTRATION_ATTEMPT_CODE
            );
        }

        $this->registry[$this->section][$identifier] = $value;
    }
780314
public function replace($identifier, $value)
    {
        $this->load();

        parent::replace($identifier, $value);
        $this->getDrupalCommonConnector()->variable_set($this->section, $this->registry[$this->section]);
    }
633400
public function set($identifier, $value)
    {
        $attributes = $this->getData()->attributes;
        $attributes[$identifier] = $value;

        return $this;
    }
320806
public function retrieveById($identifier)
    {
        $userService = app()->make(UserService::class);
        $user = $userService->byId($identifier)->get();

        if (! $user) {
            return null;
        }

        return $user;
    }
564541
public function get_method($identifier)
    {
    	$key = $this->_key($identifier);
    	$item = $this->get($key);

    	return ($item == false) ?
    		array('status' => false, 'data' => null) :
    		array('status' => true, 'data' => $item);
    }
488848
public function normalizeIdentifier($identifier)
    {
        foreach ($this->plugins as $id => $object) {
            if (strtolower($id) == strtolower($identifier)) {
                return $id;
            }
        }

        return $identifier;
    }
873112
protected function _parseIdentifier($identifier)
    {
        $parts = array();

        // Split the variable name into it's parts
        if(strpos($identifier, $this->_separator) !== false) {
            $parts = explode($this->_separator, $identifier);
        } else {
            $parts[] = $identifier;
        }

        return $parts;
    }
485231
public function getByIdentifier(Identifier $identifier)
    {
        $className = $identifier->class->getName();
        $mapId     = $identifier->getSerialized();

        return $this->identityMap[$className][$mapId];
    }
846901
protected function _quoteIdentifier($identifier)
        {
            if (Arrays::is($identifier)) {
                $result = array_map(array($this, '_quoteOneIdentifier'), $identifier);

                return join(', ', $result);
            } else {
                return $this->_quoteOneIdentifier($identifier);
            }
        }