Add support for duplicate validation to list attributes

yeah that will be much better.