use custom data-ch-* attributes instead of classes

chaining is made via data-ch-id and data-ch-p attributes
instead of value and class. reason for this is that id numbers are often used in selects as values, and id number (int) is not allowed to be a beginning character of class attribute