consolidate ID and idx for knode

https://superb.lighthouseapp.com/projects/99604-learn-high-performance-buildings/tickets/175-consolidate-id-and-idx-for-knode#ticket-175-2