native: add id option
Merge pull request #1192 from LudwigOrtmann/native_override_pid

native: add id option