Pretty sure all the internal/external ids are sorted out in qreq