Added a bidirectional mapping between bead type and ID, fixed example config