In general we would want to avoid maintaining this list. There is already a method in the component manager which returns the list of <code>cids</code>, maybe you can use the <code>find</code> method on the array to check if the cid already exists. This way you dont have to bother with maintaining this list.