fail if name is registered twice in CCBLoader
add assignObjectsByGID and assignObjectsByGID to TiledMapLoader