Added cpu-id external function.