fixes #5825 - added id to elasticsearch indexing