Implemented basic mechanism for idiom definition