No. They would not know who the individual was. This of course is very unfair on famous footballers, well-known pop stars and senior politicians who are not the subject of the accusation. Can they issue a press release to say that they are not the person concerned? That is the third problem.
The fourth problem is that the amendment does not address the difficult question of what is meant by being accused. As drafted, the prohibition on publicity would apply whether or not it is the police making the accusation. It seems to suggest that any accusation of a sexual offence would prevent publicity, but how far does this go?
Fifthly, the amendment fails adequately to address when the prohibition on publicity comes to an end. As drafted, the prohibition on publicity ends when the person concerned is charged with an offence. But let us suppose that the police decide not to bring charges and the person concerned is exonerated. Under this amendment, it seems that no publicity is allowed even at that stage—the person concerned cannot tell the world that he has been vindicated and the press still cannot report that a false allegation has been made.