select correct bookmark id for tags