Built generator for unique constraint, formatted results