On Grammatical inference and derivational complexity of context grammars