internal functionality added to traverse sub template's `parentTemplate.id` to try and find a matching template. this is done to allow a sub template to use its sibling sub template.