How does name supression work nz

Why the Wellington man on trial for sexual offences has name suppression

Do people get name suppression just for being high-profile in New Zealand?