Optimus::GetUniqueNameForScope

Given an object scope, ensure that the given name is unique within that scope.