According to Gitin 34b, if someone is known by two names and wants to divorce his wife, we write, "so-and-so and any name he has," and the same for someone who wants to divorce his wife who is known by two names. Elsewhere (though exactly where escapes me) it also says that when there are two people in the same city with the same name we add on "son of so-and-so" and go back as far as we have to and/or give as many other characteristics as we have to, in order to properly identify the person in question.
It would seem to me that we would do the same here - expand on their names and/or list characteristics to distinguish them from each other. Although, in this case, merely adding, "son of so-and-so" and "daughter of so-and-so" should suffice for identifying the man from the woman.