Use dof_id_types where appropriate in MultiDContactConstraint and OneDContactConstraint.