The determination of sex at birth based on physical characteristics like genitalia, hormones, and chromosomes.