Variable/label resolution