Format locator code