parser: Forward the static array type on new int[1] to unary.index.
semantic: Use scope names when mangling types.

This means symbols imported from other modules will
be mangled as belonging to the correct module.
semantic: Use module scope to determine mangling name.