Make stlink_core_id return the core id.