It's actually age at the time of entry. You have to be attending a publicly accredited educational facility or you'll be classified as an independent, and you'll have to put in your own application and start the process all over again.
On November 1st, 2011. See this statement in context.