What a government might consider (if we had one)

If the north leaves the EU, what then for us living on both sides of the Irish border?
Will the customs posts be put back on the frontier? Will we have to bring our passports as we go one way or the other way up and down?