Add attribute lookup for node template attributes