assigned_expression: get the assigned expression using the name and sym