From the booklet of Rabbi David Shalom Naki, shlit"a: if a friend’s name is like one’s father’s, some are lenient with a common name even in the father’s presence, but it is good to be stringent and change it slightly. The same applies to a mother’s name. Abaye was renamed so that Rabbah would not have to call him by his own father’s name, as the Arizal later recalled.