rename the new getNodeIdFromBaseTermId function