Fixing a bug where we were not synchronizing on getting the name of the ...

The getter was not synchronizing on generating unique names.