Concerning the prefix, what about setting one in the header section of themes (and plugins) and automatically compare the functions, options and all to that ?