plugin: add API to get pointer to symbol in different plugin