Resolve names in base classes