Handle expressions dealing with names using a nicer syntax without interfering with other expressions.
Encode name expression safely