Handle 4-char allegiance codes
Add known sophont codes
Rework sector serialization
Convert to T5 allegiances where possible
WIP base/allegiance twiddling
More allegiance WIP