class NamePatternIdprovider {

	public String getIdForName(String name) {
	    String id = null;
		for (NamePatternToIdEntry entry: entries) {
			if (entry.isMatching(name)) {
				id= entry.getId();
				break;
			}
		}
		LOG.debug("'{}' returns id:{} for name:{}",getProviderId(),id,name);
		return id;
	}

	public  NamePatternIdprovider(String providerId);

}