Shortend ids and class names as discussed in #3286.