setting id to value