code: public static function generateAlias($strString)
  	{
  		$strString = static::decodeEntities($strString);
  		$strString = static::restoreBasicEntities($strString);
  		$strString = static::standardize(strip_tags($strString));
  
  		// Remove the prefix if the alias is not numeric (see #707)
  		if (strncmp($strString, 'id-', 3) === 0 && !is_numeric($strSubstr = substr($strString, 3)))
  		{
  			$strString = $strSubstr;
  		}
  
  		return $strString;
  	}
docs: Generate an alias from a string
  
  @param string $strString The string
  
  @return string The alias