Fix classname generation in BaseFactory class