1. Encapsulation: Keep locators private and expose public actions (Page Objects).
2. Inheritance: BaseTest initializes WebDriver for all tests.
3. Polymorphism: The WebDriver interface is implemented by ChromeDriver, FirefoxDriver, and EdgeDriver.
Task
Complete the `formatLocator` method to return a dynamic locator using `String.format(template, value)`.