nameToId example added