Another option would simply be to have the player chose sexual orientation upon character creation. That way only companions that match would be available for romance, and all dialogue options with un-matched companions would always be seen as friend-only.
Yes, please.
That will sort it all out. I'm a female, I always play female character and I have no interest in other females. Let people choose during the character creation if they want to be locked to their preferred orientation or be bisexual.