Extend intrinsic name mangling to support arrays, named structs, and function types.