New function for creating a map from static lexicals to dynamic lexicals holding cells.