I think you have an answer - I don't think, with all due respect, you have the right answer. I think the correct answer would be simple... media involvement and wider public knowledge is instigated at the point of the person being found guilty. That is, anonymity is granted to both parties in any case where there is an accusation of this nature. Once an investigation is concluded three things can happen. The first is that there is effectively not enough evidence to prosecute - that is, the rapist MAY have done it but it cannot be proven beyond a reasonable doubt. In which case, the anonymity of both parties is preserved, the rapist is found to be guilty in which case their name is made public or the accuser is found to be fabricating, in which case their name is made public.
We must be careful to avoid the opinion swings from one side to another, particularly on an issue as complicated and as nuanced as this. I wrote about this a little when I wrote about Johnny Depp.... because I don't believe she made it up, I believe that she believes what she's saying, but it's not objectively true. The law doesn't deal well with cases like that and personality disorders are more prevalent then most people think.
Very enjoyable article, even if I disagree with the conclusion you've reached. My final thoughts on Depp/Heard are here. https://medium.com/p/c661852e5ae