Make component.Id() handle nil states with just a worse hash. part of #350.
Make component.Id() handle nil states with just a worse hash. part of #350.

jkomoros/boardgame,jkomoros/boardgame,jkomoros/boardgame