support line id changes introduced in textual 3.1

http://www.codeux.com/textual/wiki/Style-Developers:-Migrating-to-3.1.0.wiki