I'd figure that genetics and pre-natal hormonal influences are both factors in type, but I'd also take into account one's formative years and the behavioral and nutritional factors that accompany it, though I'd place a latter on the former set of influences, with the former of the former set being the prime determinant.