If you publish their name, they can't come back from it. If you don't publish their name, they can rethink their actions, not do it again and make meaningful scientific contributions in the future. Its like giving the death sentence to someone who stole a car.