Added ability to enter local_id for item references. Fixes #14