This patch updates diagnostics to print fully qualified attribute names, including scope when present.