use external trans id as the fallback (bug 947392)
Merge pull request #181 from andymckay/947392

use external trans id as the fallback (bug 947392)