Map faction names to core IDs.