Get publication id directly from the output of the "import" command.