public IDassign(String type) {
		this.nextIDchar = new Character[type.length()];
		Pattern patrn = Pattern.compile("[...a-z_]");
		Matcher match = patrn.matcher(type);
		
		for (int i = 0; i < 3; i++) {
			if (i == 1) {
				patrn = Pattern.compile("[...A-Z_]");
				match = patrn.matcher(type);
			}
			else if (i == 2) {
				patrn = Pattern.compile("[...0-9_]");
				match = patrn.matcher(type);
			}
			
			while (match.find()) {
				if (i == 0) {
					this.nextIDchar[match.start()] = 'a';
				}
				else if (i == 1) {
					this.nextIDchar[match.start()] = 'A';
				}
				else if (i == 2) {
					this.nextIDchar[match.start()] = '0';	
				}
			}
		}
		
		//transfers collected data to the id template & prevents nulls
		for (int i = 0; i < type.length(); i++) {
			if (this.nextIDchar[i] == null) {
				this.nextIDchar[i] = type.charAt(i);
			}
			this.nextID += this.nextIDchar[i];
		}
	}