Question: do villagers need to have the same profession to breed?
Answer: There is no set way to get a determined profession of Villager through breeding. Along the lines of breeding is willingness. If two Villagers are going to mate they need to be willing.