By 'name' you mean ESSID I guess. ESSID is the salt to the WPA algorithm, so yes you can 'merge' packets if they have exactly the same ESSID.
See wlanhcx2essid at https://github.com/ZerBea/hcxtools
You'll need to have hccapx files, not pmkid.
See wlanhcx2essid at https://github.com/ZerBea/hcxtools
You'll need to have hccapx files, not pmkid.