Define attributes in ActiveRecord that enforce normalisation and validation