Make NameResolver resolve trait alias and precedence names
Fix whitespace when printing trait alias modifiers