I don't think it will work well as it will be placed in the URL. Also, there is logic in the HIM that expects to see those codes (this also needs to be generalised). Is there no way in OpenMRS to store a text code for an identifier type.