I think that @XWB had something similar like me in mind, here is how is see this:
```php
foreach ($container->findTaggedServiceIds('hwi_oauth.resource_owner.service') as $id => $attributes) {
    $resourceOwnerDefinition = $container->findDefinition($id);
    $resourceOwnerDefinition->addMethodCall('setName', $attributes[0]['alias']);
}
```
And later adjust docs to force users adding tags, IMO it's more cleaner than looping all definitions in container =)