id from hash