"Duplicate entry" validation response fails to identify field name

"Duplicate entry" validation response fails to identify field name

When the user enters a duplicate value into my  "No duplicate entries" field Name, he gets

Duplicate entry 'John Smith' for key 2

whereas I would like 

Duplicate entry 'John Smith' for Name

Any solution? Thanks.