fixed equality test (using isEqual: instead of isEqualTo:)
added convenience method to attributes to return evaluated string (resolved placeholders and references)