Add function to create unknown attributes from text strings