Sometimes the tournament director will tell the officials who sctratched them at SS, and sometimes they just provide you with a list of matches in which the general order has been switched, thus you can pretty much figure out that one team or the other in the current match scratched you. In the first 2 rounds of the SS they use 2 refs each on 3 of the mats, and 3 refs on the 4th mat. If you scratch an official on a mat that only has 2 officials, then the scratched official would still assist. If, however, your on the mat with three officials, then the scratched official would sit out.
In the semis, where there are 4 officials on one mat and 5 officials on the other, it gets much easier to find a work around.
At the state finals you are NOT told who scratched you, but since there are 3 officials on every mat the supervisor of officials can generally switch the order around to make it so that the scratched official doesn't assist either. This can obviously get complicated if school A scratched 1 of the 3 officials, and school B scratched on of the 3 officials. It gets further complicated when an official scratches a team. Unlike the school which can only scratch one official, the official can scratch as many schools as they want.
Most schools do not scratch an official, and most of those that do scratch an official do so for a good reason. For example, I've heard coaches say something like, "Our kids wrestle defensively, and Official X is quick to call stalling, thus we prefer not to have him". That's good coaching and preparation. Of course, there are always those situations where a scratch occurs either by the coach or the official due to "personality conflicts" as well
From a personal standpoint, I think being able to scratch an official is a school's prerogative.