I know Nim creates unique identifiers for every identifier used, in the form of "MyIdentifier__BreJK2peWZ1PII7tA5raZg".
Is there any way I can force a specific "unique" identifier and not have it auto-generated?
Are you looking for
https://nim-lang.org/docs/manual.html#foreign-function-interface-exportc-pragma