Updated TreeDropdownField::populateIDs() to DataObject::get()

Adapted initial fix for (silverstripe/silverstripe-framework#3035), based on (https://github.com/oilee80/silverstripe-framework/commit/986df31a680fd1ad5399826d15754ae9eb47f744#commitcomment-6007575)