Further, higher-level professions tend to have obstacles to decrease the supply of their practitioners.
Immigration problems are also often self-inflicted. France is in the news for having them, but clearly many immigrants came from countries they invaded. When France invaded, they sent soldiers who alter society through violence and intimidation; whereas immigrants typically want to achieve better lives for themselves and families, and ideally participate in a functional society.
Why do you think all those people already in a safe country, France, are trying to get from Sangatte to Dover? It's not "asylum" once you're already safe!
From an economic perspective the backlash has been undeserved:
broad agreement that immigration is likely to have reduced the natural rate of unemployment ... By 2006Q3, only 353/2328 applications for income support; 859/5154 applications for incoming based jobseekers allowance;
("The Impact of the Recent Migration from Eastern Europe on the UK Economy" Monetary Policy Committee, Bank of England.)
It's more subtle than that, and to a certain extent it's zero-sum. Countries compete to attract skilled immigrants, and there is a finite supply of doctors, engineers etc willing to relocate per year. As we see in the UK there is a much larger supply of people who simply shop around for the best welfare then claim "asylum". The brutal truth is that it's in no country's best interest to admit people who are unable or simply unwilling to contribute to their economy.