I don't believe there's a specific actor in the Apify store that exclusively returns LinkedIn geolocation IDs from location names. However, you have a few options:
1. Use a more general LinkedIn scraper actor and extract the geolocation IDs:
"Linkedin data scraper ( EVERY-THING )" can extract various LinkedIn data
"LinkedIn Jobs Scraper" might include location data in its results
See the full list of LinkedIn scrapers here:
https://console.apify.com/store-search?search=LinkedIn
2. Create a custom actor specifically for this purpose (maybe ask for help in #hire-freelancers channel)