Duplicate Error Message And Database ID

Duplicate Error Message And Database ID

Is there a way to overide the message when you try and insert a value that is a duplicate for a field?

Currently it is something like:

1 . [t_26072000000004095] null, message from server: "Duplicate entry 'test@faf.dd' for key 2".

That inst very nice, I would like to overide this.

Also, is there a way to change the ID, currently they are like:

26072000000004487
26072000000004353

Would be nice if they started at 1 and just incremented. Thanks.