Hi Pawel,
I don't think you could change it to CompanyID since it's integer field (I suppose). For code name column you can select the other string field temporarily, then change the name of your CompanyName to whatever you want, and change code name column back to the renamed field. Hopefully, it will work.