For statistical purposes, the number of people whose sex and “gender” are not the same is negligible.
Nature and nurture are not clearly separable as biological and social reductionists like to think. They intermingle in countless ways on multiple scales. People exist on many spectrums, and are dynamic, not predetermined.
Even within these sociological aspects, how much is nature? What is nurture?
So far, I remain unconvinced by any “blank slate” theory to explain gender expression (or anything else for that matter).