Access joint by name in Robot::setJointBounds and Problem::lockDof.