Returns a function that has been previously localized based on the provided function to localize. We maintain meta data on what functions have been created locally based on which other ones, and use this method to avoid redundant localizations.