Pretty cut and dry; currently plugins can create attributes for declarations but any that are not recognized produce a diagnostic, leaving no hook for plugins to react to them.
This adds a quick check to the attribute to see if the implementation would like to handle it first, akin to how declarations are handled.
Compatible with D99861.