In the following passage, what does assignment mean in the context of sex assignment surgery? Does it mean assign: to give a particular value, identity, etc., to something?
Germany, the first European country to make such an allowance, reviewed cases of intersex babies and found that many who were subjected to sex assignment surgery at a young age ended up unhappy.