Complex sentence: The letters bring about an unexpected reversal of fortune, in which it is often revealed that someone is not who they pretend to be; a device referred to as "qui pro quo".
Split into simpler sentences: The letters bring about an unexpected reversal of fortune, in which it is often revealed that someone is not who they pretend to be. Mistaken identity as a basis for plot complications is a device referred to as "qui pro quo".