* fix(GenericModel): avoid exception if id is null