Method fieldNamesInErrors checks an array of errors for ID field names and replaces them with the readable name