option to explicitly provide linkParentID, avoiding IE8’s issue with parents[i].slice()