Give each chapter a unique auto-incremented id in the Elasticsearch index