Simplify data structures: remove explicit ID.kind
Simplify data structures: remove explicit ID.kind

Since the ID.kind value had implicit relationships with other attributes, I removed it and instead replaced it with direct querying of the other attributes, to simplify the code and data structures.
JacquesLucke/still-lambda,metaplinius/still-lambda