added field for identity.
added field for identity.
saving identity.
added test for identity label.
added requires validations for identity.
added class for identity errors.