The theory behind it is that the public shaming (particularly for public figures) from being named would be a punishment, and you shouldn't be punished for a crime without having been found guilty. There's been quite a few high profile abuse cases with this recently where rumours spread around around which 'high profile sportsman' it is.
These days with blogs and social media it usually just turns into a rumor mill, and someone outside NZ jurisdiction can name the person legally. It's also a pretty clear violation of free speech, and judges seem to be very willing to give name suppression, and sometimes maintain it in place even if there is a plea deal and the person is convicted - There's a solid argument that it results in abusers being back out in the public, without people even being warned. So it's not exactly my favourite bit of NZ law :)