Revert "Character ID architecture changes in preparation for event characters"

This reverts commit 701fb91ddcd3789a909499cad04df641fe35b882.
Revert "Fix some compilation errors due to the switch to long character IDs"

This reverts commit 900d28ffbb2f2b2dc4344621089d1b05e3edbd0a.