I have a basic solution but it can't handle basic types LOL! you have totypedef them so that moduleName!T works.
Of course it can't, built-in types don't have any owning module, those are not symbols. Why would you want to care about basic types anyway?