Create custom identity class.