Assigning sex seems a bad use of the word “assign”, since the assignment doesn’t make a person male or female. What would be a better word?