The questioned sentence is:
In order to find out who _______ might be, they agreed to hang their straw hats up before the door, and he whose hat was blown away was to yield himself up to his fate.
The exact word in the original article is "it", but I am not sure if "he" can also be used.
Which word is more proper to be filled in the blank，"it" or "he"?
Are they both OK here?