/// <summary>
 /// Automatically set the user identity (ie. email address, username, user id) on events.
 /// </summary>
 /// <param name="config">The configuration object</param>
 /// <param name="identity">The user's identity that the event happened to.</param>
 public static void SetUserIdentity(this ExceptionlessConfiguration config, string identity)
 {
     config.SetUserIdentity(identity, null);
 }