Create MyId class from id if id that has type String is not assignable from id type, also id is not Integer.