added support for component names containing hyphens and dots when assigning them with alternative get and pack methods