[GROOVY-6890] NamespaceBuilder(Support): allow automatic detetection of namespaces declared in attributes