ARK ID for Rex Bone Costume is BoneRex.
To use the command provided by this constructor, make sure that you had previously executed enablecheats YourServerPassword.