Allow selecting into primitive slices.
Factor out columnToFieldIndex