public function getTypedName($name, FieldType $type)
    {
        if ($name === 'id') {
            return $name;
        }

        $typeName = $type->type;

        if (isset($this->fieldNameMapping[$typeName])) {
            $typeName = $this->fieldNameMapping[$typeName];
        }

        return $name . '_' . $typeName;
    }