This function is expensively silly. Do it inline in `build_bayes` and use pointer math on suffix instead of constructing a string just to use `substr()`. The only string construction should be `account_guid` because `gnc::GUID::from_string()` takes a `const std::string&`.