get identity in the upper scope.