Give ResourceNames, ColumnNames, DatasetIds, ColumnIds, and SecondaryIds types

This is wildly uncompilable but at this point all the compiler errors
should be side-effects of the half-columnidified state I found the
project in.