In stdin mode, when _id (or id) is available in the document, use it for indexing

Currently the `stdin` mode, doesn't support `id`. If the same file is streamed twice the documents will be duplicated in the index with auto-generated ids. This change allows `stream2es` to use the field `_id` or `id` when available in the streamed document for indexing purposes avoiding duplicates.