An attempt at creating a type for tags

- Tags cannot have whitespaces in them - they get replaced by
  underscores.