Dealing properly with compressed IDs