Fix to auto-determination of ids for input plots.