lookup in different namespaces for values and types