Where would you find a basis for any age of consent, and why the government be involved. That should make for some interesting research. Why 21? Why not 30?
The basis is called judgement. Would you allow a six month old female child to have sexual intercourse with an 18 year old man? There obviously has to be a cut off at some point; so why not 21?