XML Import Plugin: Providing custom identfier

I want to add a custom identifier (which should later show up in “Catalog Entry” > “Identifiers” beneath the “public URL identifier”). We already have a custom plugin for adding the custom identifier type manually, but I am struggling to set it automatically on import.