Add persistence id to config.