Increase load speed of shape file data. Fix a bug when no variables are set for a given identifier.