Added new function and copied identity information so not to mess with any stored information.
Added new function and copied identity information so not to mess with any stored information.

arbn/pysaml2,arbn/pysaml2,tpazderka/pysaml2,tpazderka/pysaml2,Runscope/pysaml2,Runscope/pysaml2