Part of the satisfaction of tattling surely comes from showing oneself to adults as a good moral agent, a responsible being who is sensitive to right and wrong. But I would bet that children would tattle even if they could do so only anonymously. They would do it just to have justice done.