PROV-620 Revised caProcessTemplateForIDs() to support new <unit> tag. <unit> enables one to define subtemplates that are resolved relative to a table that may not be the same as the one for the main template