Women changing their name at marriage doesn't work well in the modern world. Here's an alternative scheme:
- Women keep their last name at marriage, but change their middle name to their husband's surname. And similarly the man changes his middle name to the wife's surname.
- Children are given the last name of the same sex parent, and start with the middle name of their other parent.