What a poorly written article. It never directly says how Hannity’s name was revealed, or by whom. It hints that it was done by one of Cohen’s attorneys during the hearing.
It says the judge ordered it released.
“Kimba Wood ordered Cohen to disclose the name in a court hearing on Monday.”