public static Map<String, Player> createIdMap(Iterable<? extends Player> database, IdReader idReader) {
        Map<String, Player> mergeMap = Maps.newHashMap();
        for (Player p : database) {
            String key = null;
            try {
                key = idReader.getId(p);
            } catch (Exception e) {

            }
            mergeMap.put(key, p);
        }

        return mergeMap;
    }