I reckon all characters should get an alignment ("good"/"bad") or perhaps have some characters without alignment altogether.
Plus a random number as "loyalty" for all characters too. That could be replaced by something not random that fits for that character later.
However, adding "loyalty" to a random character should immediately enable the "Officer Loyalty" functionality for that character.
Except that hasn't yet been confirmed working for random NPCs, so it is a bit risky.
But as it is virtually impossible to trigger right now, there should be little harm in setting something up in advance.