Code Review

I would put the name in a sequence so it is guaranteed to be unique.