Compares two System.Security.Principal.SecurityIdentifier objects to determine whether they are equal. They are considered equal if they have the same canonical representation as the one returned by the SecurityIdentifier.Value property or if they are both null.