Why don't you just do the following:
```php
$map[self::STATE_GROUP . $groupValue['identifier']][] = (int)$groupValue['id'];
```
It's perfectly valid in PHP to add an element at an index which does not exist yet. This will never (ever) throw a notice.