[PATCH 06/34] fs: add id translation helpers