Fixed semantic colorization for module names on the value side.

Only classify a module in value position if its value side is introduced by a module.