Is that a real structure, or just a proposed structure? I’ve tried with both a Microsoft Access repository and Oracle repository, and it won’t let me create two groups (regardless of nesting) with the same name. It’s much like classes in Designer … while they are nested hierarchically, the name must be globally unique.
… and since you cannot have duplicate group (or user) names, this is a non-issue. You simply add the user in the desired group, without having to specify the exact tree structure. So in your case, you could have something like:
US
US Sales
US Sales Team 1
US Sales Team 2
UK
UK Sales
UK Sales Team 1
UK Sales Team 2
That would provide you unique group names, and the script to add a user to “US Sales Team 1” would work just fine.