Allow search by idnumber

This will round out support for idnumber (the field specified as being for referencing IDs used externally).