name to id in tags