Write identity name in cordova hook