Same thing with judges as well. Struggle to get new judges now as the pension was one thing that attracted them but the tax is now a problem since these measures were introduced.
The other problem is that top QC's who become Judges often do so at the cost of a substantial cut in income.
Having said that, If GP's are routinely bumping up against the lifetime/annual pension contribution limits, they can hardly claim to be being underpaid!