Hi!
If you have both 2TBP and 3TBP markets loaded at the same time, then I'm afraid there is no easy workaround, as to BetFair, these are markets with an identical betting code. You can do the "remember" trigger in each market based on the 2TBP or 3TBP patterns in there name, and then use the remembered name as a prefix to access the corresponding variables.
If you only have Win and 2TBP, for example, then you can access the 2TBP market (ditto 3TBP and 4TBP) through winplace_.