protected function extractValue($item, $key) { if (is_numeric($item)) { $item = DataObject::get_by_id($this->dataClass, $item); } return parent::extractValue($item, $key); }