For backwards compatibility. The user may specify their own plugins without the pname attribute. In that case the attrname of the plugin (given as a string) is the pname. Fixes #53112