Fix bug when renaming masked members with the same name

We now print a warning to indicate that the name is already
used but we do the renaming anyway.

Bug: 28552157

Change-Id: I4697f8d91f9261704adbed331d9ae0a4f032f1eb
16 files changed