save row and column ids if loading from text matrix