Support retrieving submodule Id in TreeEntry