Customizing the publishItem pipeline to avoid duplicate names on a live site