We should address the @Named case with how it works for beans (see CDI spec 2.3.1) - "If a bean does not explicitly declare a qualifier other than @Named, the bean has exactly one additional qualifier, of type @
Default. This is called the default qualifier."

We should extract this logic into a common place and use both here and in BeanAttributesBuilder.