Added obs_id lists to analyse.c. Hopefully we can remove later when we work out a better architecture for that.