allow names in base of scalar selection using constant int
configurable NA checks for double arithmetic, disabled by default. Fix for min/max builtins