Added an __id to each component state for convenience.