Core: Wrap handle IDs around a high cap