Restricting optId auto generation to 4 chars