get immutable id from ad