Specify scope

This adds the ability to specify a scope. Defaults on identity.