[DON'T BACKPORT] LPS-50703 remove references to defaultClassNameId