elasticsearch plugin should rely and the underying logic to assign an ID