Put IDs and classes in variables