I know a very similar question has been asked here (How to do something when your contract is an action notification recipient (like when it receives funds)?), however I don't have enough reputation to ask a follow up question to that answer, so I open a new question.
As mentioned in that answer, extending the EOSIO_ABI macro with a statement like "if( code == self || code == N(eosio.token) || action == N(onerror) )" can trigger the "transfer" function in your contract when a eosio.token transfer notification is received. However, what if I already have another function named "transfer" with a different purpose? How can I map the eosio.token transfer notification to a function that has a different name?