Do store ids individually, keep lastid per store