- fix problem whereby all attendance codes needed to be unique