Plant used as a code word in the Ali Baba fables (6)
I believe the answer is:
sesame
(Other definitions for sesame that I've seen before include "Source of seed and oil" , "said to be effective in opening spell" , "Plant cultivated for seeds providing oil" , "'Open - - !' (Ali Baba)" , "Seeds used for making oil" .)