It's the magnetism in the rotor that is affected from over heating. Change the rotor if you keep overheating and you start sensing a loss in oomph, much cheaper than changing the entire motor.
Other things worthwhile checking, are bearings if your, (not over/under gearing and) getting temp issues. Not to mention your drive train components.