Over the years I have encountered the issue of mapping between CIK, company name and stock ticker.
Below is a list of useful resources to help with this transcoding:
https://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK=AAPL&count=100&output=xml
- Requires some additional data extraction