store id apart from data, validate names on import