Charged-hadron identification at Belle II