Switch Token with Identifier in main class