On Identification and Canonical Numbering of Pin-Jointed Kinematic Chains