Character Identities in the Twisted Endoscopy of Real Reductive Groups