* use getClassById instead of _getClassById
* use getClassId instead of _getClassId
* public cc.js.getClassId api
* allow className already exists, new one will replace old classObject
* create component use cid
* allow className exist when registing
* custom script className allow duplicated
* revert some comments
* preserve api and deprecate _getClassById and _getClassId
* revert some comments
* revert comment
* Update cocos/core/utils/js-typed.ts
Co-authored-by: PP <chinese1236@qq.com>
Co-authored-by: PP <chinese1236@qq.com>