That also occurred to me, but that's no reason to keep her name secret. Publication bans have a reason; they're not there to avoid embarrassment.
Actually a witness can put in a written application to the judge for a publication ban on their name. And likely the two women who did had legal advice to do so. Probably for no other reason than not wanting their names dragged into this mess. Perhaps to them it is an embarrasment and they have reason to believe that it would cause them some hardship, in their personal and/or professional lives, to have their names publicized.
How does a victim or witness get a judge to
consider making a publication ban?
The Criminal Code sets out the steps for seeking out a
publication ban:
The victim or witness must make an application or
request for a publication ban in writing. It is essential
for the victim or witnesses to indicate why he/she
needs this type of protection.
The victim or witness makes the application to the
judge who will be hearing the case. If a judge has not
yet been assigned to the case, the victim or witness
may make the request to any superior court judge in
the jurisdiction.
The Crown prosecutor, the accused and any other
person that may be affected by the publication ban
must be notified about the application. The judge will
decide whether the notice should be provided to the
media or others that may be affected. For example,
local newspapers would need to know, because a
publication ban would restrict how they report on the
trial or proceedings.
The judge may hold a hearing to consider the request
for the publication ban. At the hearing, the victim or
witness has an opportunity to say why the order is
necessary for him or her. The Crown prosecutor, the
accused, the media or other parties who are affected
by the order may also speak.
http://publications.gc.ca/collections/Collection/J2-288-1999E.pdf