t: add helper to convert object IDs to paths