I've been looking into this on the wiki, but I haven't found much of anything definitive. Does anyone know of a function that retrieves the base data of a variable object? For example, a general script on a forge to retrieve the base item information of an item you select from your inventory. It wouldn't be pointing towards a specific item, but rather any item that you give it. I'm thinking the GetBaseObject function would be my best bet to start with, but the example given on the wiki leads me to believe that it is only usable for a specific object, rather than a variable.
My hope is to use this to allow for on-the-fly creation of things such as display replicas of the daedric artifacts, which lack the special effects of the originals.