Fix auto_item support

Fixes #58 and also improves other alias handling (e.g. numeric IDs)