Combined https://drupal.org/node/1896384#comment-7720073 to support
mapping references to new nodes