This is preparation for using ModelRole in the ModelIndex API.
This model does not support nested indices well, in that it flattens them all out. That's a FIXME for the future as it does its job for now.