Rory McIlroy has declared his intention to represent Ireland at the 2020 Tokyo Olympics, and says it's always been a long-held ambition.