Isn't it the other way where profession is based on the caste you are born into? You make it sound like a child born into a lower caste can choose a profession that lets them join a higher caste. It's not different than american back slaves being born into slavery, if you call slavery a profession or jim crow era legal segregation limiting jobs based on race.