Grammatical Inference by Attentional Control of Synchronization in an Oscillating Elman Network