Similarly to addRef we need to normalize name before using it for GET parameter or classname or whatever.
That's because $name can contain spaces for example.