The evolution and determination of plasmid transfer rate and subsequent effect on competition