adding visible prop for lastIdentity and do not set identity if lastIdentity is already the correct value
Includes andrewarrow’s pull request. Removed public exposer of lastIdentity. Added identity getter.
Merge remote-tracking branch 'orig/master'