I agree with you. That's one of the points I made. One of the primary grounds of detention is not knowing the identity of the person. The onus is on the individual to establish his identity. If he doesn't, then he can be kept in detention until he does.
When the people came off the boat, for example—it's a good example—most of them didn't have proper identity documents. They were held for two or three months. By the end of three months, family members had gotten identity documents that satisfied immigration officials as to who they were. At that point we could move on to see them released.
There is absolutely no doubt that a valid reason to hold someone in detention is not knowing who they are and having a concern, based upon what we suspect, that they may be dangerous. The immigration act already provides for detention on those grounds.