1. Detect whether element is a link (it has href and id or rel property).
2. Detects whether string is a resource URI.
3. Detect whether element is a resource link (it has a resource href).
4. Detect collection links.