The identity parameter is used to separate user sessions. If the same user has several sessions connected to the same app (like the client and single) they would normally share the same session, that is selections in one would affect the other. To separate them you give each a (separate) identity.
Hope this helps
Erik Wetterberg https://extendingqlik.upper88.com/