Genesis of sexual orientation