Issue #3332877 by claudiu.cristea, xjm, penyaskito, alexpott: Added TermForm::getParentIds for allowing to override in contrib (cherry picked from commit 20e21dc4)