[RFC patches 00/13] misc cleanups and SMS ID API