Added function to replace duplicate prop aliases

There was a problem when properties with the same alias were translated.
Added a function that replaces duplicates with added number. Might be a
better solution for this, but works for now