this could arguably be a more general "document to domain" lookup, which may be a useful thing to keep around for efficiency's sake in other places. @dannyroberts do you think that would be generally useful or not worth it at the moment.