public function convertIdsToGroupedIds(array $ids, array $default = [])
{
$result = $default;
foreach ($ids as $id) {
$type = substr($id, 0, 1);
$value = substr($id, 1);
if (!isset($result[$type])) {
$result[$type] = [];
}
$result[$type][] = $value;
}
return $result;
}