Appropriating the Restoration hero(ine): intertextuality and the transformation of gender identity, 1677-1759