Joints are hashed by their position, layers and net.
#include <pns_joint.h>
Linked items are, obviously, not hashed