Add support for focusing and setting titles for IDs