FIX Scopes templates: sanitize scope groupName.
TODO: design scopes