Safari workaround for id in NS