Further refactoring for doing late materialization of HBase ids