Add the component's id to the entity's component lookup table
Implement Game#query