move id gen to stores; use symbols for attrs