Cid was optional, but then I made it required, then I made it optional again.

Being that cid is not required, you don't have to specify it, but I figured it's a good practice to do so. Otherwise the component manager will generate a random cid for you. If you want to access the components again later you'll need to provide a cid. Just left it in one of the examples to illustrate that.