escape_function to avoid problems when translating testbed obj names to
hrns. For example, in testbed there users: name.surname