The Effect Of (Counter-)Ions On The Electronic And Crystalline Structure Of Doped Polymeric Semiconductors