Wordpress plugin to convert affiliate links from a specific network, using a database

Closed - This job posting has been filled and work has been completed.
Fixed Price
Deliver by - July 11, 2013
100
Budget

Details

I need an expert programmer with experience in creating wordpress plugins.

Currently I am having to manually convert a lot of links to Affiliate Links through Affiliate Window.

However, I can see that the affiliate links follow a given pattern.
The major difference in the links is the difference in the merchant.
Each merchant (retailer) has a number assigned to them.

Here is an example of two affiliate link urls.
http://www.spabreaks.com/venues/combe-grove-manor-hotel-puma-hotels-collection?book_online=009f16fbb461f13c8f9491c0643dd4e0
is converted to:
http://www.awin1.com/cread.php?awinmid=3489&awinaffid=103590&clickref=&p=http%3A%2F%2Fwww.spabreaks.com%2Fvenues%2Fcombe-grove-manor-hotel-puma-hotels-collection%3Fbook_online%3D009f16fbb461f13c8f9491c0643dd4e0

And http://www.virginiahayward.com/extravagance-hamper/ is converted to:
http://www.awin1.com/cread.php?awinmid=2500&awinaffid=103590&clickref=&p=http%3A%2F%2Fwww.virginiahayward.com%2Fextravagance-hamper%2F

Aside from the conversion of characters, the difference is in awinmid=

Each merchant (website) has an id associated with it.

What I want is a wordpress plugin, which would automatically convert any affiliate link, using the above pattern.
This would work like the Amazon Localizer plugin does for amazon.

The plugin would need to have options for me to add new merchants from the wordpress interface.

So, for example, all I would need to do to automatically convert all of the www.spabreaks.com links into affiliate links, would be to enter www.spabreaks.com and it's associated merchant id, awinmid (which for spabreaks.com would be 3489)

There should also be an option to add my unique affiliate id, awinaffid (which for me would be 103590). This will allow others to be able to use the plugin.