I completely see why removing the space with an itemID will not work, especially if N is passed.
Code:
price 424306 -- 42 4306 would fail
price 42[Silk Cloth] -- should work
price 42Silk Cloth -- might work, depending on APIs
price 42 [Silk Cloth] -- does work, tested
price 42 Silk Cloth -- might work, depending on APIs