The comparative study of grammar learning mechanisms: birds as models