Add function to REPL to look up a metavariable given its name as a string