Fix when call checkExistenceWithEntityName:identifier: pass error id