Supporting Ids when searching for a path.