use concurrent hash map with atomic integers

This should ensure that concurrent access to the
fresh name creator is properly synchronized.