Fixes pluralize function in pubsub hook (now publish works with ids again).