The ethics of automated classification: a case study using a dignity lens