Identification of oil-field waters by chemical analysis