When I went to grad school, a cousin went at the same time in the same field of study, at a different school. I didn't enjoy my experience very much, but any time I would say anything to my mother, she would volunteer, "Richard wrote a paper and his professor said it was really good!" and other things that you would think anyone with any common sense would not say.
Tell your boyfriend that you are not she, your pregnancy is not her pregnancy, you want your own doctor, and you want your child to be his own person and that includes having his own name. If he gives you more pushback on the name thing, ask if, should you some day have another baby with him, he would want the brother to have the same damn middle name yet again. There are a lot of great names in the world.
I would straight up tell him because he may not realize he is hurting your feelings. Im not going trough this but if I were you I'd be honest with him even if it hurts. I've always hated being compared my ffiance would compare me to his ex when we first started talking and I literally told him off , and never again lol . So just be honest , relationships are all about communication. Good luck !