Indeed, a judicial process under Canon Law requires that the name of the respondent be known. Were the bishop and/or priest to publish that information in newspaper or post in on the Internet, your objection would be well-grounded.

The revelation of the name is not a requirement for absolution but a requirement for resolving the canonical offense.