fixed handling of 'const' in `to_uniform_name`