public function getField($id)
    {
        if (!isset($this->_fields[$id])) {
            $message = 'Field "' . $id . '" not associated with this schema.';
            throw new \InvalidArgumentException($message);
        }
        return $this->_fields[$id];
    }