classId for CCObject and primitives