Just define it in the loop:

`foreach (((array) $identifiers) as $identifier) {`