original_string: public static function getIdentifier(string $name) : string
      {
          return str_replace(
              '.',
              '',
              uniqid(
                  preg_match(static::VALID_IDENTIFIER_FORMAT, $name)
                  ? $name
                  : static::DEFAULT_IDENTIFIER,
                  true
              )
          );
      }
code: public static function getIdentifier(string $name) : string
      {
          return str_replace(
              '.',
              '',
              uniqid(
                  preg_match(static::VALID_IDENTIFIER_FORMAT, $name)
                  ? $name
                  : static::DEFAULT_IDENTIFIER,
                  true
              )
          );
      }
code_tokens: public static function getIdentifier ( string $ name ) : string { return str_replace ( '.' , '' , uniqid ( preg_match ( static :: VALID_IDENTIFIER_FORMAT , $ name ) ? $ name : static :: DEFAULT_IDENTIFIER , true ) ) ; }
docstring: Generates a valid unique identifier from the given name
  
  @param string $name
  
  @return string
docstring_tokens: Generates a valid unique identifier from the given name