Katy Brand: writing Emma Thompson’s sexiest role yet