CE-64 Simplifying way of getting var id