IDS: Added config flag which turns on saving and recovering ids from elliptics cluster.