Introduce IdentityError

As we discussed today, to keep the logical error along with the msg, introducing a new IdentityError class

Code is the logical status code for the error
Description is the friendly error