add ValueBase::apply to a apply a basic value to a Value without knowing its type