Get correct value for slave ID