Build a vocab mapping features to IDs.