Ion implantation in thermoplastic polymers