correct documentation for layer_id_key, layer_index