usage: fix meaning “to repair,” which is probably an Americanism, is fully standard in all varieties of speech and writing. fix (to) meaning “to prepare, plan (to)” is another Americanism: We're fixing to go to town.
Some common synonyms of fix are affix, attach, and fasten. While all these words mean "to make something stay firmly in place," fix usually implies a driving in, implanting, or embedding.
To fix is to fasten in position securely or to make more or less permanent against change, especially something already existing: to fix a bayonet on a gun; fix a principle in one's mind.