Add support for duplicate validation to list attributes