core: store resolved namespaces (performance)