The Script Reference pages for
ModelImporterMaterialName.BasedOnMaterialName
and
ModelImporterMaterialName.BasedOnModelNameAndMaterialName
seem to be missing some text. Or if not, they are completely unclear and confusing.
You can use the bug reporter app to report documentation bugs.
–Eric