public short this[ string atom ] { get { short id; if (dictionary.TryGetValue(atom, out id)) { return id; } else { return -1; } } }