import { ItemBaseClassService } from "https://deno.land/x/sptaki@1.2.0/services/ItemBaseClassService.d.ts";
Helper method, recursivly iterate through items parent items, finding and adding ids to dictionary
Parameters
item: ITemplateItem
item being checked