loader.py: add LazyGetModelByName to help avoid common anti-pattern of calling getModelByName() at module import time, often causing import loops