When you grow up this knowledge will just be automatic. I advice you right now to concentrate on your studies before you start dating a gal just because she bears the same name as your mommy.
name has nothing to do with behaviour. it will be the sense of immaturity (nonsense) to treat someone negative just because they have the same name as an ex..