Factors influencing sexual orientation